* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

html,
body,
#app {
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: 'Courier New', Courier, monospace;
}

img {
    vertical-align: baseline;
    object-fit: cover;
}

.ml-10 {
    margin-left: 10px;
}

.font-color-black {
    color: #999999 !important;
}

.mr-10 {
    margin-right: 10px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-5 {
    margin-top: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-16 {
    margin-bottom: 16px;
}

.p-h-8 {
    padding: 0 8px;
}

.p-h-10 {
    padding: 0 10px;
}

.pb-10 {
    padding-bottom: 10px;
}

.pb-5 {
    padding-bottom: 5px !important;
}

.pr-10 {
    padding-right: 10px;
}

.pr-20 {
    padding-right: 20px !important;
}

.text-indent {
    text-indent: 1em;
}

.ele-h-127 {
    height: 127px;
}

.ele-min-h-72 {
    min-height: 52px;
}

.ele-h-197 {
    height: 197px;
}

.ele-h-176 {
    height: 176px;
}

.ele-h-279 {
    height: 279px;
}

.flex-1 {
    flex: 1;
    overflow: hidden;
}

.overflow-h {
    overflow: hidden;
}

.position-re {
    position: relative;
}

.display-flex {
    display: flex;
}

.display-flex-col {
    flex-direction: column;
}

.display-flex-wrap {
    flex-wrap: wrap;
}

.display-v-center {
    align-items: center;
}

.display-h-between {
    justify-content: space-between;
}

.display-v-end {
    align-items: flex-end;
}

.flex-row-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.text-ellipsis-2-line {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-ellipsis-3-line {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify !important;
    text-justify: inter-ideograph;
    -webkit-box-pack: start;
    -webkit-box-align: end;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-align-justify {
    text-align: justify;
}

.w-half {
    width: 48%;
}

.w-full {
    width: 100%;
}

.bg-white {
    background-color: #fff;
    border-radius: 8px;
}



/**      8******************************************************     **/
.ab-content {
    position: absolute;
    width: 100%;
    bottom: 5px;
    left: 0;
    padding: 0 5px;
    box-sizing: border-box;
}

.container {
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    padding: 12px;
    padding-bottom: 15px;
    background: linear-gradient(180deg, #FFA05B, #efefef 10%, #efefef 10% 100%);
}

.banner-box {
    width: 100%;
    height: 175px;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
}

.banner-box:active {
    transform: scale(0.99);
    -ms-transform: rotate(0.99);
    /* IE 9 */
    -moz-transform: rotate(0.99);
    /* Firefox */
    -webkit-transform: rotate(0.99);
    /* Safari 和 Chrome */
    -o-transform: rotate(0.99);
    /* Opera */
}

.banner-box>.img-banner {
    width: 100%;
    height: 100%;
}

.img-top-game {
    width: 30px;
    height: 30px;
}

.home-title {
    font-size: 22px;
    font-weight: 1000;
    color: #333333;
}

.text-gift {
    width: 71px;
    height: 24px;
    border-radius: 163px;
    background: rgba(0, 0, 0, 0.6);
    font-size: 12px;
    font-weight: bold;
    color: #FFA05B;
    line-height: 24px;
    text-align: right;
    padding-right: 14px;
}

.img-gift {
    position: absolute;
    top: -10px;
    left: -20px;
    width: 40px;
    height: 40px;
}

.text-a-gift {
    font-size: 10px;
    text-align: right;
    color: #FFFFFF;
}

.code-box {
    width: 100%;
    max-width: 155px;
    height: 24px;
    border-radius: 163px;
    background: rgba(3, 3, 3, 0.6);
    padding: 0 10px;
}

.text-code {
    font-size: 10px;
    color: #FFFFFF;
}

.text-blue {
    font-size: 10px;
    color: #2174F9;
}

.img-full {
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.ele-cycle-right {
    position: absolute;
    top: -88px;
    left: -100%;
    width: 200%;
    height: 352px;
    background-color: #C248FF;
    overflow: hidden;
    padding-left: 100%;
    padding-top: 88px;
    border-radius: 60%;
}

.img-full-c {
    width: 100%;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.c-container {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.img-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.img-icon-small {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.game-name {
    font-size: 16px;
    font-weight: bold;
}

.game-short {
    width: 100%;
    font-size: 12px;
    color: #999999;
}

.game-color-bar {
    width: 155px;
    max-width: 100%;
    padding: 0 10px;
    height: 24px;
    border-radius: 6px;
    background: linear-gradient(270deg, #C248FF 3%, #FFA05B 100%);
    color: #ffffff;
    font-size: 12px;
    line-height: 24px;
    text-align: center;
}

.btn-start-game {
    width: 92px;
    height: 30px;
    font-size: 16px;
    border-radius: 174px;
    background: #FFA05B;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-start-game {
    margin-bottom: 1px;
}

.btn-click:active {
    transform: scale(0.9);
    -ms-transform: rotate(0.9);
    /* IE 9 */
    -moz-transform: rotate(0.9);
    /* Firefox */
    -webkit-transform: rotate(0.9);
    /* Safari 和 Chrome */
    -o-transform: rotate(0.9);
    /* Opera */
}

#toastContainer {
    position: fixed;
    /* 设置为固定定位，让消息框始终显示在页面的某个位置 */
    top: 50%;
    /* 设置消息框距离页面顶部的位置为页面高度的一半 */
    left: 50%;
    /* 设置消息框距离页面左侧的位置为页面宽度的一半 */
    transform: translate(-50%, -50%);
    /* 使用 transform 属性来水平和垂直居中消息框 */
    padding: 10px;
    /* 设置内边距，增加消息框的可读性 */
    background-color: #333;
    /* 设置背景颜色为黑色 */
    color: #fff;
    /* 设置文字颜色为白色 */
    border-radius: 5px;
    /* 设置边框圆角为5px，让消息框更加美观 */
    opacity: 0;
    /* 初始状态下，设置消息框的透明度为0，隐藏消息框 */
    transition: opacity 0.3s ease-in-out;
    /* 设置动画过渡效果，让消息框的显示和隐藏变得平滑 */
}

.popup-container {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup-container > .popup-box {
    background-color: #fff;
    padding: 20px;
    padding-bottom: 10px;
    border-radius: 8px;
    min-width: 200px;
    max-width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.popup-box > .popup-title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.popup-box > .popup-desc {
    font-size: 15px;
    margin: 20px 0;
    word-wrap: break-word;
    word-break: break-all;
    overflow: hidden;
    text-align: center;
}
.popup-box > .popup-btn {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-confirm {
    padding: 5px 15px;
    border: none;
    background: none;
    color: #2174F9;
}